io/fs.subFS.dir (field)
10 uses
io/fs (current package)
sub.go#L49: dir string
sub.go#L57: return path.Join(f.dir, name), nil
sub.go#L62: if name == f.dir {
sub.go#L65: if len(name) >= len(f.dir)+2 && name[len(f.dir)] == '/' && name[:len(f.dir)] == f.dir {
sub.go#L66: return name[len(f.dir)+1:], true
sub.go#L117: full := f.dir + "/" + pattern
sub.go#L122: return nil, errors.New("invalid result from inner fsys Glob: " + name + " not in " + f.dir) // can't use fmt in this package
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |